• Drag another if to the bottom of your program, OUTSIDE of the other if statement.
  • Change the test variable to result and the test value to b_num.
  • Drag in Say and use the document in Ticket to type the result message.
  • Drag in either of the Astronaut sprites. Name it result_sprite. Change its position to (0, -100)
  • Drag in Space and drop it inside the if statement. Click Run and enter mostly "b" to see the astronaut!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)